package cn.initcap.netty;

import cn.initcap.netty.websocket.WebSocketServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class InitcapNettyApplication {

    public static void main(String[] args) {
        SpringApplication.run(InitcapNettyApplication.class, args);
        try {
            WebSocketServer.start(8088);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
